package com.jyh.homework6;

/**
 * @Author JYH
 * @Date 2024/8/8 19:07
 * @Description
 */
public class Test {
    public static void main(String[] args) {
        Printer p = new Printer();
        Thread t1 = new NumberPrinter(p);
        Thread t2 = new LetterPrinter(p);

        t1.start();
        t2.start();


    }
}
